package sch.frog.behavioral.visitor;

public class ConcreteElementA implements IElement {

    private IVisitor visitor;

    @Override
    public void accept(IVisitor visitor) {
        this.visitor = visitor;
    }

    public void methodK(){
        this.visitor.visit(this);
    }
}
